import Vue from "vue";
import App from "./App.vue";
import store from "@/store/index";
import router from "./router";
import "@/assets/js/flexible.js";
import "@/utils/api.js";
import '@/assets/iconfont/iconfont.css'

import dataV from '@jiaminghi/data-view'
Vue.use(dataV)

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

Vue.use(Antd);

import VideoPlayer from 'vue-video-player'
import 'videojs-contrib-hls' //引入才能播放m3u8
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
Vue.use(VideoPlayer)

//全局引入echarts
import echarts from 'echarts';
Vue.prototype.$echarts = echarts;
// 引入element UI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 使用element UI
Vue.use(ElementUI);

Vue.prototype.$bus = new Vue()
Vue.config.productionTip = false;

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");